import axios from "axios"
export default {
    install(Vue) {
        Vue.prototype.baseUrl = "https://api.aslegou.top"

        Vue.prototype.$http = async function ({ url, params }) {

            return axios({
                url:this.baseUrl+url,
                params
            })
        }
    }
}